/**
 * DefaultTemplateConvertor.java
 * 卢晓峰
 * Email：lxf9601@gmail.com
 * QQ：297051898
 * Created by 2010-7-17
 */
package com.autoabacus.core.config;

import java.util.Map;
import java.util.regex.Matcher;

import com.autoabacus.core.config.provider.TemplateConvertor;
import com.autoabacus.core.util.RegexUtils;

/**
 * 默认的模板转换器
 * @author 卢晓峰
 */
public class DefaultTemplateConvertor implements TemplateConvertor {
	private static final String VARIABLE_CACHE_REGEX = "\\$\\((\\S*)\\)";
	/* (non-Javadoc)
	 * @see com.autoabacus.core.config.provider.TemplateConvertor#convert(java.lang.String, java.util.Map)
	 */
	@Override
	public String convert(String template, Map<String, String> paramsMap) {
		Matcher matcher = RegexUtils.getMatcher(VARIABLE_CACHE_REGEX, template);
		while (matcher.find()) {
			
		}
		return null;
	}

}
